package com.vdong.trade.trading.facade;


import org.lamb.framework.common.remote.FacadeResult;

/**
 * @author <a href="mailto:clf@vdongzc.com">clf</a>
 * @Description: 支付相关接口
 * @Date Create on 2018-12-13 15:10:22
 * @since version1.0
 */
public interface TransactionPayFacade {

    /**
     * 统一支付接口
     *
     * @param request
     * @return
     * @throws Exception
     */
    FacadeResult<String> execPay(String request) throws Exception;

    /**
     * 主动查询微信支付成功未异步回调订单
     *
     * @param request
     * @return
     * @throws Exception
     */
    String queryOrder(String request) throws Exception;

    /**
     * 主动查询支付成功未异步回调订单,并做相应的回调处理
     *
     * @param request
     * @return
     * @throws Exception
     */
    String queryWaitAsyncNotifyOrder(String request) throws Exception;

}
